<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
	<meta content="telephone=no" name="format-detection">
	<link rel="stylesheet" href="__PUBLIC__/wechat/css/global.css" />
	<link rel="stylesheet" href="__PUBLIC__/wechat/css/main.css" />
	<title>车币兑换</title>
</head>
<body>
	<div class="all_top">
		<div class="all_top_main">
			<a href="javascript:history.go(-1);" class="all_top_back"></a>
			<p class="all_top_tit t_c">兑换</p>
			<a href="ex_history.html" class="all_top_btn">兑换记录</a>
		</div>
	</div>
	<div class="exchange_index">
		<div class="box ex_index_top">
			<div class="box_flex1">可兑换车币</div>
			<div>200.00</div>
		</div>
		<div class="ex_index_money">
			<div class="box">
				<div class="box_flex1 t_l">
				    基本奖励
			    </div>
			    <div class="box_flex1 t_r">
				    环保奖励
			    </div>
			</div>
			<div class="box ex_index_money2">
				<div class="box_flex1 t_l">
				    200.00
			    </div>
			    <div class="box_flex1 t_r">
				    200.00
			    </div>
			</div>
		</div>
		<ul class="ex_index_bottom">
			<li>
				<p class="ex_index_bottom_tit">车币兑换</p>
			</li>
			<li>
				<a href="exchange_phone.html" class="ex_index_bottom_a">
					话费兑换
					<p class="ex_index_bottom_p">1车币 = 1RMB</p>
				</a>
			</li>
			<li>
				<a href="exchange_oil.html" class="ex_index_bottom_a">
					油卡兑换
					<p class="ex_index_bottom_p">1车币 = 1RMB</p>
				</a>
			</li>
		</ul>
	</div>
	
</body>
</html>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/public.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery-validate-methods.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
        $('#forms').validate({//表单验证
            rules: {
                _name: {
                	required: true
                },
                _phone: {
                	required: true
                },
                _address: {
                	required: true
                }
            },
            messages: {
                _name: {
                	required:'请填写姓名'
                },
                _phone: {
                	required:'请填写联系电话'
                },
                _address: {
                	required:'请填写联系地址'
                }
            },  
            showErrors: function(errorMap, errorList) { 
                $.each( errorList, function(i,v){
                    if(v.message!=""){
                        openWarningBox(v.message);
                        return false;
                    }
                });  
            },
            /* 失去焦点时不验证 */
            onfocusout: false
        });
    });
</script>